<?php
/*
 * Copyright (c) 2017-2025 Tencent. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
namespace TencentCloud\Cwp\V20180228\Models;
use TencentCloud\Common\AbstractModel;

/**
 * Trojan list
 *
 * @method string getHostIp() Obtain Server IP address
 * @method void setHostIp(string $HostIp) Set Server IP address
 * @method string getUuid() Obtain UUID
 * @method void setUuid(string $Uuid) Set UUID
 * @method string getFilePath() Obtain Path
 * @method void setFilePath(string $FilePath) Set Path
 * @method string getVirusName() Obtain Description
 * @method void setVirusName(string $VirusName) Set Description
 * @method integer getStatus() Obtain Status: 4-Pending, 5-Trusted, 6-Isolated, 8-Files Deleted, 14-Processed.
 * @method void setStatus(integer $Status) Set Status: 4-Pending, 5-Trusted, 6-Isolated, 8-Files Deleted, 14-Processed.
 * @method integer getId() Obtain Unique ID
Note: This field may return null, indicating that no valid values can be obtained.
 * @method void setId(integer $Id) Set Unique ID
Note: This field may return null, indicating that no valid values can be obtained.
 * @method string getAlias() Obtain Host alias
 * @method void setAlias(string $Alias) Set Host alias
 * @method array getTags() Obtain Feature tag. This field has been deprecated, and no tag will be returned. Tags are returned in the details.
Note: This field may return null, indicating that no valid values can be obtained.
 * @method void setTags(array $Tags) Set Feature tag. This field has been deprecated, and no tag will be returned. Tags are returned in the details.
Note: This field may return null, indicating that no valid values can be obtained.
 * @method string getFileCreateTime() Obtain First running time
Note: This field may return null, indicating that no valid values can be obtained.
 * @method void setFileCreateTime(string $FileCreateTime) Set First running time
Note: This field may return null, indicating that no valid values can be obtained.
 * @method string getFileModifierTime() Obtain Last running time
Note: This field may return null, indicating that no valid values can be obtained.
 * @method void setFileModifierTime(string $FileModifierTime) Set Last running time
Note: This field may return null, indicating that no valid values can be obtained.
 * @method string getCreateTime() Obtain Creation time
 * @method void setCreateTime(string $CreateTime) Set Creation time
 * @method string getLatestScanTime() Obtain Last scan time
 * @method void setLatestScanTime(string $LatestScanTime) Set Last scan time
 * @method integer getLevel() Obtain Risk level. 0: unknown; 1: low; 2: medium; 3: high; 4: critical.
 * @method void setLevel(integer $Level) Set Risk level. 0: unknown; 1: low; 2: medium; 3: high; 4: critical.
 * @method string getCheckPlatform() Obtain Trojan detection platforms, separated with commas. 1: cloud security engine; 2: TAV; 3: BinaryAI; 4: abnormal behavior; 5: threat intelligence.
 * @method void setCheckPlatform(string $CheckPlatform) Set Trojan detection platforms, separated with commas. 1: cloud security engine; 2: TAV; 3: BinaryAI; 4: abnormal behavior; 5: threat intelligence.
 * @method integer getProcessExists() Obtain Whether the Trojan process exists. 0: no; 1: yes.
 * @method void setProcessExists(integer $ProcessExists) Set Whether the Trojan process exists. 0: no; 1: yes.
 * @method integer getFileExists() Obtain Whether the Trojan file exists. 0: no; 1: yes.
 * @method void setFileExists(integer $FileExists) Set Whether the Trojan file exists. 0: no; 1: yes.
 * @method string getQuuid() Obtain cvm quuid
 * @method void setQuuid(string $Quuid) Set cvm quuid
 * @method string getMD5() Obtain Trojan sample MD5
 * @method void setMD5(string $MD5) Set Trojan sample MD5
 * @method MachineExtraInfo getMachineExtraInfo() Obtain Additional information
Note: This field may return null, indicating that no valid values can be obtained.
 * @method void setMachineExtraInfo(MachineExtraInfo $MachineExtraInfo) Set Additional information
Note: This field may return null, indicating that no valid values can be obtained.
 */
class MalWareList extends AbstractModel
{
    /**
     * @var string Server IP address
     */
    public $HostIp;

    /**
     * @var string UUID
     */
    public $Uuid;

    /**
     * @var string Path
     */
    public $FilePath;

    /**
     * @var string Description
     */
    public $VirusName;

    /**
     * @var integer Status: 4-Pending, 5-Trusted, 6-Isolated, 8-Files Deleted, 14-Processed.
     */
    public $Status;

    /**
     * @var integer Unique ID
Note: This field may return null, indicating that no valid values can be obtained.
     */
    public $Id;

    /**
     * @var string Host alias
     */
    public $Alias;

    /**
     * @var array Feature tag. This field has been deprecated, and no tag will be returned. Tags are returned in the details.
Note: This field may return null, indicating that no valid values can be obtained.
     */
    public $Tags;

    /**
     * @var string First running time
Note: This field may return null, indicating that no valid values can be obtained.
     */
    public $FileCreateTime;

    /**
     * @var string Last running time
Note: This field may return null, indicating that no valid values can be obtained.
     */
    public $FileModifierTime;

    /**
     * @var string Creation time
     */
    public $CreateTime;

    /**
     * @var string Last scan time
     */
    public $LatestScanTime;

    /**
     * @var integer Risk level. 0: unknown; 1: low; 2: medium; 3: high; 4: critical.
     */
    public $Level;

    /**
     * @var string Trojan detection platforms, separated with commas. 1: cloud security engine; 2: TAV; 3: BinaryAI; 4: abnormal behavior; 5: threat intelligence.
     */
    public $CheckPlatform;

    /**
     * @var integer Whether the Trojan process exists. 0: no; 1: yes.
     */
    public $ProcessExists;

    /**
     * @var integer Whether the Trojan file exists. 0: no; 1: yes.
     */
    public $FileExists;

    /**
     * @var string cvm quuid
     */
    public $Quuid;

    /**
     * @var string Trojan sample MD5
     */
    public $MD5;

    /**
     * @var MachineExtraInfo Additional information
Note: This field may return null, indicating that no valid values can be obtained.
     */
    public $MachineExtraInfo;

    /**
     * @param string $HostIp Server IP address
     * @param string $Uuid UUID
     * @param string $FilePath Path
     * @param string $VirusName Description
     * @param integer $Status Status: 4-Pending, 5-Trusted, 6-Isolated, 8-Files Deleted, 14-Processed.
     * @param integer $Id Unique ID
Note: This field may return null, indicating that no valid values can be obtained.
     * @param string $Alias Host alias
     * @param array $Tags Feature tag. This field has been deprecated, and no tag will be returned. Tags are returned in the details.
Note: This field may return null, indicating that no valid values can be obtained.
     * @param string $FileCreateTime First running time
Note: This field may return null, indicating that no valid values can be obtained.
     * @param string $FileModifierTime Last running time
Note: This field may return null, indicating that no valid values can be obtained.
     * @param string $CreateTime Creation time
     * @param string $LatestScanTime Last scan time
     * @param integer $Level Risk level. 0: unknown; 1: low; 2: medium; 3: high; 4: critical.
     * @param string $CheckPlatform Trojan detection platforms, separated with commas. 1: cloud security engine; 2: TAV; 3: BinaryAI; 4: abnormal behavior; 5: threat intelligence.
     * @param integer $ProcessExists Whether the Trojan process exists. 0: no; 1: yes.
     * @param integer $FileExists Whether the Trojan file exists. 0: no; 1: yes.
     * @param string $Quuid cvm quuid
     * @param string $MD5 Trojan sample MD5
     * @param MachineExtraInfo $MachineExtraInfo Additional information
Note: This field may return null, indicating that no valid values can be obtained.
     */
    function __construct()
    {

    }

    /**
     * For internal only. DO NOT USE IT.
     */
    public function deserialize($param)
    {
        if ($param === null) {
            return;
        }
        if (array_key_exists("HostIp",$param) and $param["HostIp"] !== null) {
            $this->HostIp = $param["HostIp"];
        }

        if (array_key_exists("Uuid",$param) and $param["Uuid"] !== null) {
            $this->Uuid = $param["Uuid"];
        }

        if (array_key_exists("FilePath",$param) and $param["FilePath"] !== null) {
            $this->FilePath = $param["FilePath"];
        }

        if (array_key_exists("VirusName",$param) and $param["VirusName"] !== null) {
            $this->VirusName = $param["VirusName"];
        }

        if (array_key_exists("Status",$param) and $param["Status"] !== null) {
            $this->Status = $param["Status"];
        }

        if (array_key_exists("Id",$param) and $param["Id"] !== null) {
            $this->Id = $param["Id"];
        }

        if (array_key_exists("Alias",$param) and $param["Alias"] !== null) {
            $this->Alias = $param["Alias"];
        }

        if (array_key_exists("Tags",$param) and $param["Tags"] !== null) {
            $this->Tags = $param["Tags"];
        }

        if (array_key_exists("FileCreateTime",$param) and $param["FileCreateTime"] !== null) {
            $this->FileCreateTime = $param["FileCreateTime"];
        }

        if (array_key_exists("FileModifierTime",$param) and $param["FileModifierTime"] !== null) {
            $this->FileModifierTime = $param["FileModifierTime"];
        }

        if (array_key_exists("CreateTime",$param) and $param["CreateTime"] !== null) {
            $this->CreateTime = $param["CreateTime"];
        }

        if (array_key_exists("LatestScanTime",$param) and $param["LatestScanTime"] !== null) {
            $this->LatestScanTime = $param["LatestScanTime"];
        }

        if (array_key_exists("Level",$param) and $param["Level"] !== null) {
            $this->Level = $param["Level"];
        }

        if (array_key_exists("CheckPlatform",$param) and $param["CheckPlatform"] !== null) {
            $this->CheckPlatform = $param["CheckPlatform"];
        }

        if (array_key_exists("ProcessExists",$param) and $param["ProcessExists"] !== null) {
            $this->ProcessExists = $param["ProcessExists"];
        }

        if (array_key_exists("FileExists",$param) and $param["FileExists"] !== null) {
            $this->FileExists = $param["FileExists"];
        }

        if (array_key_exists("Quuid",$param) and $param["Quuid"] !== null) {
            $this->Quuid = $param["Quuid"];
        }

        if (array_key_exists("MD5",$param) and $param["MD5"] !== null) {
            $this->MD5 = $param["MD5"];
        }

        if (array_key_exists("MachineExtraInfo",$param) and $param["MachineExtraInfo"] !== null) {
            $this->MachineExtraInfo = new MachineExtraInfo();
            $this->MachineExtraInfo->deserialize($param["MachineExtraInfo"]);
        }
    }
}
